package com.example.mybatisplus.model.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * ֵ����Ϣ��
 * </p>
 *
 * @author lxp
 * @since 2023-10-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Work对象", description="ֵ����Ϣ��")
public class Work extends Model<Work> {

    private static final long serialVersionUID = 1L;

            @ApiModelProperty(value = "ֵ������")
    @TableId(value = "work_id", type = IdType.AUTO)
    private Long workId;

            @ApiModelProperty(value = "����Ա���")
    private Long adminId;

            @ApiModelProperty(value = "ֵ����")
    private Long workNum;

    private Long num;
    private String adminType;

            @ApiModelProperty(value = "ֵ�����")
    private String workAddress;

            @ApiModelProperty(value = "ֵ������ʱ��")
    private String workTime;

    private String workDate;

            @ApiModelProperty(value = "ֵ�������Ƿ����")
    private Integer isFree;


            @ApiModelProperty(value = "ֵ���ʦ����")
    private Long workTeacherId;

            @ApiModelProperty(value = "����ԤԼ����")
    private Integer peopleTotal;
    @TableField(exist=false)
    private AdminInfo adminInfo;




    @Override
    protected Serializable pkVal() {
        return this.workId;
    }

}
